<template>
	<view>
    <uni-grid
        style="margin-bottom: 50px"
        :column="2"
        border-color="#d0dee5"
        :show-border="false"
        :square="false"
        :highlight="true"
    >
      <uni-grid-item v-for="item in showProducts">
        <uni-card
            :cover="item.image"
            :title="item.proName"
            :is-full="true"
        >
          <text class="text-red">￥</text>
          <text class="text-red" style="font-size: 24px">{{ Math.trunc(item.proPrice) }}</text>
          <text class="text-red">{{ (item.proPrice - Math.trunc(item.proPrice)).toFixed(2).substring(1, 4) }}</text>
        </uni-card>
      </uni-grid-item>
    </uni-grid>
    <view class="text-center" style="margin: 10px 0 50px 0">什么也没有</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
        allProducts: [],
        showProducts: [],
			}
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
